package io.renren.modules.eightapp.service;

import io.renren.common.service.CrudService;
import io.renren.modules.eightapp.dto.EiCostInfoDTO;
import io.renren.modules.eightapp.dto.EiPayInfoDTO;
import io.renren.modules.eightapp.entity.EiPayInfoEntity;

import java.util.List;

/**
 * 
 *
 * @author Mark 1132115960@gmail.com
 * @since 1.0.0 2022-12-27
 */
public interface EiPayInfoService extends CrudService<EiPayInfoEntity, EiPayInfoDTO>{
    /**
     * PayInfo表，获取所有订单信息
     * @return
     */
    public List<EiPayInfoDTO> getPayInfoAllDataList();

    /**
     * PayInfo表，根据业主ID获取订单
     * @param ownerId
     * @return
     */
    public List<EiPayInfoDTO> getPayInfoDataListByOwnerId(Integer ownerId);

    /**
     * PayInfo表，根据费用类型获取订单
     * @param memo
     * @return
     */
    public List<EiPayInfoDTO> getPayInfoDataListByMemo(String memo);

    /**
     * PayInfo表，根据年份获取本年度总收益
     * @param year
     * @return
     */
    public Integer getPayInfoTotalByYear(String year);
}